#pragma once
#include "animation.hpp"

namespace rh
{
	class ColorAnimation :
		public rh::Animation<sf::Color>
	{
	private:
		float _steps[4];
	public:
		ColorAnimation(rh::ITransformable* target, sf::Time animationTime, sf::Color startValue, sf::Color endValue);
		~ColorAnimation(void);

		virtual void Start(void);
		virtual void Animate(const sf::Time& elapsedTime);
		virtual void CleanupAnimation(void);
	};
}